<script lang="ts">
import HelloWorld from "./components/HelloWorld.vue";
let title: string = "Rspack + Vue";
export default {
	components: { HelloWorld },
	data() {
		return {
			title
		};
	}
};
</script>

<template>
	<div class="container">
		<div>
			<a href="https://www.rspack.dev/" target="_blank">
				<img src="./assets/rspack.svg" class="logo" alt="Rspack logo" />
			</a>
			<a href="https://vuejs.org/" target="_blank">
				<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
			</a>
		</div>
		<HelloWorld :msg="title" />
	</div>
</template>

<style scoped lang="less">
.container {
	text-align: center;
}

.logo {
	height: 6em;
	padding: 1.5em;
	will-change: filter;
}

.logo:hover {
	filter: drop-shadow(0 0 2em #eeea8caa);
}

.logo.vue:hover {
	filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
